home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmURL
- BorderStyle = 3 'Fixed Dialog
- Caption = "Force URL Jump"
- ClientHeight = 930
- ClientLeft = 45
- ClientTop = 330
- ClientWidth = 3420
- Icon = "frmURL.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 930
- ScaleWidth = 3420
- ShowInTaskbar = 0 'False
- StartUpPosition = 1 'CenterOwner
- WhatsThisButton = -1 'True
- WhatsThisHelp = -1 'True
- Begin VB.CommandButton cmdSend
- Caption = "&Send"
- Default = -1 'True
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 400
- Left = 2385
- TabIndex = 3
- Top = 437
- Width = 960
- End
- Begin VB.CommandButton cmdExit
- Cancel = -1 'True
- Caption = "&Cancel"
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 385
- Left = 2655
- TabIndex = 1
- Top = 1170
- Visible = 0 'False
- Width = 960
- End
- Begin VB.TextBox txtURL
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 315
- Left = 525
- TabIndex = 0
- Text = "http://"
- Top = 45
- Width = 2790
- End
- Begin VB.Label Label2
- Caption = "TIP: You can also enter filenames or EXE names."
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 375
- Left = 90
- TabIndex = 4
- Top = 450
- Width = 1920
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- Caption = "UR&L:"
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 195
- Left = 135
- TabIndex = 2
- Top = 90
- Width = 345
- End
- Attribute VB_Name = "frmURL"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub cmdExit_Click()
- Unload Me
- End Sub
- Private Sub cmdSend_Click()
- On Error GoTo hell
- frmConnection.objTCP.SendData "|EXEC| " & Me.txtURL
- Unload Me
- Exit Sub
- hell:
- MsgBox Error & ".", vbCritical
- End Sub
- Private Sub Form_Load()
- txtURL.SelStart = Len(txtURL.Text)
- End Sub
-